/**
 * 
 */
package com.trmp.dj.productMng.dao;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import com.trmp.commons.dao.GenericRepository;
import com.trmp.dj.productMng.entity.LocalRouteDetailTemplate;

/**
 * @author divine
 *
 */
public interface RouteOfferDetailTemplateDao extends GenericRepository<LocalRouteDetailTemplate, Long> {

	@Modifying
	@Query(value = "delete from T_B_DJ_ROUTE_DETAIL_TEMPLATE r where r.ROUTE_TEMPLATE_ID=?1", nativeQuery = true)
	public void deleteByRouteTemplateId(Long routeId);
}
